﻿import CabinCard from "@/components/CabinCard";


function CabinList({ cabins }){
    return (
        <div className={"grid sm:grid-cols-1 md:grid-cols-2 lg:gap-12 xl:gap-14"}>
            {cabins.map((cabin) => {
                <CabinCard cabin={cabin} key={cabin.id} />
            })}
        </div>
    );
}

export default CabinList;